from django.db import models

# Create your models here.
class Books(models.Model):
    bookname = models.CharField(max_length=48, verbose_name='书名')
    price = models.DecimalField(max_digits=7, decimal_places=2, verbose_name='价格')
    class Meta:
        db_table = 'Books'